package com.c2soft.ncmxTrade.domain;

import java.io.Serializable;

import lombok.experimental.Builder;

@Builder
public class Heading implements Serializable {

	
	private static final long serialVersionUID = 1L;
	private String symbol;
	private String instId;
	private String contentId;
	private String ask_Qty;
	private String bid_Rate;
	private String ask_Rate;
	private String bid_Qty;
	private String netChange;
	private String open;
	private String high;
	private String low;
	private String prev_Close;
	private String ltp;
	private String perChange;
	private String atp;
	private String dpr;
	private String voll;
	private String trend;
	private String lth;
	private String ltl;


	
	@Override
	public String toString() {
		return "Data [symbol=" + symbol + ",instId=" + instId +", ask_Qty=" + ask_Qty +", contentId=" + contentId + ", bid_Rate="
				+ bid_Rate + ", ask_Rate=" + ask_Rate + ", bid_Qty=" + bid_Qty + ", netChange=" + netChange
				+ ", open=" + open + ", high=" + high + ", low=" + low
				+ ", prev_Close=" + prev_Close + ", ltp=" + ltp + ", perChange=" + perChange + ", atp=" + atp + ", dpr=" + dpr 
				+  ", voll=" + voll + ", trend=" + trend + ", lth=" + lth + ", ltl=" + ltl + "]";
		}
	
	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result + ((symbol == null) ? 0 : symbol.hashCode());
		return result;
	}

	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		Heading other = (Heading) obj;
		if (symbol == null) {
			if (other.symbol != null)
				return false;
		} else if (!symbol.equals(other.symbol))
			return false;
		return true;
	}

	public String getSymbol() {
		return symbol;
	}

	public void setSymbol(String symbol) {
		this.symbol = symbol;
	}

	public String getAsk_Qty() {
		return ask_Qty;
	}

	public void setAsk_Qty(String ask_Qty) {
		this.ask_Qty = ask_Qty;
	}

	public String getBid_Rate() {
		return bid_Rate;
	}

	public void setBid_Rate(String unitcost) {
		this.bid_Rate = unitcost;
	}

	public String getAsk_Rate() {
		return ask_Rate;
	}

	public void setAsk_Rate(String ask_Rate) {
		this.ask_Rate = ask_Rate;
	}

	public String getBid_Qty() {
		return bid_Qty;
	}

	public void setBid_Qty(String bid_Qty) {
		this.bid_Qty = bid_Qty;
	}

	public String getNetChange() {
		return netChange;
	}

	public void setNetChange(String netChange) {
		this.netChange = netChange;
	}

	public String getOpen() {
		return open;
	}

	public void setOpen(String open) {
		this.open = open;
	}

	public String getHigh() {
		return high;
	}

	public void setHigh(String high) {
		this.high = high;
	}

	public String getLow() {
		return low;
	}

	public void setLow(String low) {
		this.low = low;
	}

	public String getPrev_Close() {
		return prev_Close;
	}

	public void setPrev_Close(String prev_Close) {
		this.prev_Close = prev_Close;
	}

	public String getLtp() {
		return ltp;
	}

	public void setLtp(String ltp) {
		this.ltp = ltp;
	}

	public String getPerChange() {
		return perChange;
	}

	public void setPerChange(String perChange) {
		this.perChange = perChange;
	}

	public String getAtp() {
		return atp;
	}

	public void setAtp(String atp) {
		this.atp = atp;
	}

	public String getDpr() {
		return dpr;
	}

	public void setDpr(String dpr) {
		this.dpr = dpr;
	}

	public String getVoll() {
		return voll;
	}

	public void setVoll(String voll) {
		this.voll = voll;
	}

	public String getTrend() {
		return trend;
	}

	public void setTrend(String trend) {
		this.trend = trend;
	}

	public String getLth() {
		return lth;
	}

	public void setLth(String lth) {
		this.lth = lth;
	}

	public String getLtl() {
		return ltl;
	}

	public void setLtl(String ltl) {
		this.ltl = ltl;
	}

	public String getContentId() {
		return contentId;
	}

	public void setContentId(String contentId) {
		this.contentId = contentId;
	}

	public String getInstId() {
		return instId;
	}

	public void setInstId(String instId) {
		this.instId = instId;
	}

		
}
